package com.bluegalaxy.sitescore.service;

import com.baomidou.framework.service.ISuperService;
import com.bluegalaxy.sitescore.entity.SurfaceWaterGW;
import com.bluegalaxy.sitescore.entity.SurfaceWaterOL;
import com.bluegalaxy.sitescore.entity.TbScore;
import com.bluegalaxy.sitescore.entity.TbSurfaceWaterOverLand;

import java.math.BigDecimal;
import java.util.List;

public interface SurfaceWaterService extends ISuperService<TbSurfaceWaterOverLand> {

    public List<TbScore> getSWOverLandList(int sourceId);

    public boolean insertSWOverLand(SurfaceWaterOL surfaceWaterOL, int sourceId);

    public boolean delScore(int id,int sourceId);

    public BigDecimal caculateScore(SurfaceWaterOL surfaceWaterOL, int sourceId);

    public BigDecimal caculateScoreGroud(SurfaceWaterGW surfaceWaterOL, int sourceId);

    public boolean judgeScore(SurfaceWaterOL surfaceWaterOL);

    public boolean judgeScoreGroud(SurfaceWaterGW surfaceWaterOL);

    public SurfaceWaterOL getSurfaceWaterById(int id);
}
